package com.gwtplatform.samples.basic.shared;

import com.guit.client.command.action.Action;
import com.guit.client.command.action.ActionHandler;

@ActionHandler("com.gwtplatform.samples.basic.server.SendTextToServerHandler")
public class SendTextToServerAction implements Action<SendTextToServerResult> {

    private String textToServer;

    public SendTextToServerAction(final String textToServer) {
        this.textToServer = textToServer;
    }

    protected SendTextToServerAction() {
    }

    public String getTextToServer() {
        return textToServer;
    }
}
